<template>
    <div>
        <ComprehensiveList @scuuers="data"></ComprehensiveList>
    </div>
</template>

<script setup lang="ts">
import ComprehensiveList from "@/components/ComprehensiveList.vue"
import { doctorList_nurse,doctorSearch_nurse } from "@/API/doctor.api"

const data = async(list,tableData)=>{
    console.log(list);
    console.log(tableData.list);

    let ser = await doctorSearch_nurse(data)
    tableData.total = ser.data.total
    tableData.list=ser.data.data
}
</script>
 
<style scoped>

</style>